chore: handle ineligible_guides in guides fetch response#844
chore: handle ineligible_guides in guides fetch response#844thomaswhyyou merged 4 commits intomainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
3ca6b2e to
bfd9122
Compare
9c6bd46 to
34821df
Compare
34821df to
7963ad8
Compare
8c99027 to
9243f08
Compare
2c0551f to
52ff4da
Compare
52ff4da to
ce42ed9
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #844 +/- ##
==========================================
+ Coverage 68.41% 68.45% +0.04%
==========================================
Files 193 193
Lines 8041 8053 +12
Branches 1062 1066 +4
==========================================
+ Hits 5501 5513 +12
Misses 2515 2515
Partials 25 25
|

Description
This PR updates the guide client so it reads
ineligible_guidesfrom the fetch endpoint response and stores into the client state store, to prep ahead of the toolbar changes in downstream PRs.As a reminder, this new field was introduced recently (here) to expose "ineligible markers", a minimal payload that explains which guide was evaluated ineligible for what reason. This information was previously inaccessible to the outside callers, but we want to surface it in the guide toolbar.